#
# Makefile to compile OZebraRouting
#

include ../../makefile.envars

CHECKOUT_PREFIX ?= svn://svn.atc.amit.com.tw
COMPO_URL := $(CHECKOUT_PREFIX)/Sahara/OZebraRouting/trunk
COMPO_REV := -r 16
COMPO_DIR := $(COMPO_BASE)/open_src/OZebraRouting

include ../../makefile.compo
include ../../makefile.install

#

build:
ifdef FULL_COPY
	${PRIV_TOOLS}/bin/mkuo ${COMPO_DIR}/ripd.conf       ${COMPO_DIR}/ripd.conf.uo
endif
	./configure $(COMPO_DIR) $(TARGET) i386-redhat-linux
	make -C $(COMPO_DIR)
	$(TARGET)-strip $(COMPO_DIR)/ripd/ripd
	$(TARGET)-strip $(COMPO_DIR)/zebra/zebra	
install: INSTALL.copy_OZebraRouting

clean:
	rm -f ${COMPO_DIR}/ripd.conf.uo
	make -C $(COMPO_DIR) clean

copying:

